Add BrowserWindow.print() method.
This commit is contained in:
parent
87d5b72b76
commit
11b9a06639
4 changed files with 33 additions and 19 deletions
|
@ -195,11 +195,16 @@ std::string NativeWindow::GetRepresentedFilename() {
|
|||
void NativeWindow::SetDocumentEdited(bool edited) {
|
||||
}
|
||||
|
||||
bool NativeWindow::IsDocumentEdited() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void NativeWindow::SetMenu(ui::MenuModel* menu) {
|
||||
}
|
||||
|
||||
bool NativeWindow::IsDocumentEdited() {
|
||||
return false;
|
||||
void NativeWindow::Print() {
|
||||
printing::PrintViewManagerBasic::FromWebContents(GetWebContents())->
|
||||
PrintNow();
|
||||
}
|
||||
|
||||
bool NativeWindow::HasModalDialog() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue