mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ChromiumBrowser: clang warnings fixed, cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9185 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4d50b61659
commit
4ed19c5fb4
3 changed files with 4 additions and 5 deletions
|
|
@ -145,7 +145,7 @@ void ChromiumBrowser::State(int reason)
|
|||
|
||||
void ChromiumBrowser::AfterInit()
|
||||
{
|
||||
WhenGotFocus = THISBACK(SetFocus2);
|
||||
WhenGotFocus = LAMBDA(){ SetFocus(); };
|
||||
|
||||
handler = new ClientHandler(WhenUrlChange, WhenStatus, WhenMessage, WhenTakeFocus,
|
||||
WhenGotFocus, WhenKeyboard, WhenConsoleMessage);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ private:
|
|||
void BeforeTerminate();
|
||||
void Layout();
|
||||
void MessageLoop();
|
||||
void SetFocus2() { SetFocus();}
|
||||
|
||||
public:
|
||||
typedef ChromiumBrowser CLASSNAME;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class ClientApp: public CefApp,
|
|||
{
|
||||
private:
|
||||
|
||||
CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() { return this; }
|
||||
CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() OVERRIDE { return this; }
|
||||
void V8ValueListToCefListValue(const CefV8ValueList& src, CefRefPtr<CefListValue> & dst);
|
||||
|
||||
public:
|
||||
|
|
@ -32,11 +32,11 @@ public:
|
|||
ClientApp();
|
||||
|
||||
virtual void OnBeforeCommandLineProcessing(const CefString& process_type,
|
||||
CefRefPtr<CefCommandLine> command_line);
|
||||
CefRefPtr<CefCommandLine> command_line) OVERRIDE;
|
||||
|
||||
virtual void OnContextCreated(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context);
|
||||
CefRefPtr<CefV8Context> context) OVERRIDE;
|
||||
|
||||
virtual void OnFocusedNodeChanged(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue