Translate menu template directly in C++
This commit is contained in:
parent
56e6b28370
commit
9236adfbf5
5 changed files with 100 additions and 98 deletions
|
@ -13,7 +13,6 @@
|
|||
#include "atom/browser/api/trackable_object.h"
|
||||
#include "atom/browser/common_web_contents_delegate.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
#include "content/public/common/context_menu_params.h"
|
||||
#include "content/public/common/favicon_url.h"
|
||||
#include "native_mate/handle.h"
|
||||
#include "ui/gfx/image/image.h"
|
||||
|
@ -93,8 +92,6 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
void SetAudioMuted(bool muted);
|
||||
bool IsAudioMuted();
|
||||
void Print(mate::Arguments* args);
|
||||
void ExecuteContextMenuCommand(int action);
|
||||
void NotifyContextMenuClosed();
|
||||
|
||||
// Print current page as PDF.
|
||||
void PrintToPDF(const base::DictionaryValue& setting,
|
||||
|
@ -259,9 +256,6 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
// embedders' zoom level change.
|
||||
void OnZoomLevelChanged(double level);
|
||||
|
||||
// Recent unhandled context menu context.
|
||||
content::CustomContextMenuContext context_menu_context_;
|
||||
|
||||
v8::Global<v8::Value> session_;
|
||||
v8::Global<v8::Value> devtools_web_contents_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue