Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 402350 Details for
Bug 481836
app-editors/brackets-29 - an open source code editor for the web
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bracketsshell_client_handler.h.patch
bracketsshell_client_handler.h.patch (text/plain), 2.73 KB, created by
Nicolas Pöhlmann
on 2015-04-30 23:37:38 UTC
(
hide
)
Description:
bracketsshell_client_handler.h.patch
Filename:
MIME Type:
Creator:
Nicolas Pöhlmann
Created:
2015-04-30 23:37:38 UTC
Size:
2.73 KB
patch
obsolete
>--- brackets-shell/appshell/client_handler.h >+++ brackets-shell/appshell/client_handler.h >@@ -16,7 +16,13 @@ > > #include <algorithm> > >- >+#if defined(OS_LINUX) >+// The Linux client uses GTK instead of the underlying platform type (X11). >+#include <gtk/gtk.h> >+#define ClientWindowHandle GtkWidget* >+#else >+#define ClientWindowHandle CefWindowHandle >+#endif > > // Define this value to redirect all popup URLs to the main application browser > // window. >@@ -184,13 +190,13 @@ > const CefKeyEvent& event, > CefEventHandle os_event) OVERRIDE; > >- void SetMainHwnd(CefWindowHandle hwnd); >- CefWindowHandle GetMainHwnd() { return m_MainHwnd; } >- void SetEditHwnd(CefWindowHandle hwnd); >- void SetButtonHwnds(CefWindowHandle backHwnd, >- CefWindowHandle forwardHwnd, >- CefWindowHandle reloadHwnd, >- CefWindowHandle stopHwnd); >+ void SetMainHwnd(ClientWindowHandle hwnd); >+ ClientWindowHandle GetMainHwnd() { return m_MainHwnd; } >+ void SetEditHwnd(ClientWindowHandle hwnd); >+ void SetButtonHwnds(ClientWindowHandle backHwnd, >+ ClientWindowHandle forwardHwnd, >+ ClientWindowHandle reloadHwnd, >+ ClientWindowHandle stopHwnd); > > CefRefPtr<CefBrowser> GetBrowser() { return m_Browser; } > int GetBrowserId() { return m_BrowserId; } >@@ -240,7 +246,7 @@ > static void CreateRequestDelegates(RequestDelegateSet& delegates); > > // The main frame window handle >- CefWindowHandle m_MainHwnd; >+ ClientWindowHandle m_MainHwnd; > > // The child browser window. This is only set for the FIRST client window. > // The browser id for m_Browser is stored in m_BrowserId. >@@ -257,13 +263,13 @@ > int m_BrowserId; > > // The edit window handle >- CefWindowHandle m_EditHwnd; >+ ClientWindowHandle m_EditHwnd; > > // The button window handles >- CefWindowHandle m_BackHwnd; >- CefWindowHandle m_ForwardHwnd; >- CefWindowHandle m_StopHwnd; >- CefWindowHandle m_ReloadHwnd; >+ ClientWindowHandle m_BackHwnd; >+ ClientWindowHandle m_ForwardHwnd; >+ ClientWindowHandle m_StopHwnd; >+ ClientWindowHandle m_ReloadHwnd; > > // Support for logging. > std::string m_LogFile; >@@ -279,7 +285,7 @@ > ProcessMessageDelegateSet process_message_delegates_; > RequestDelegateSet request_delegates_; > >- typedef std::map< CefWindowHandle, CefRefPtr<CefBrowser> > BrowserWindowMap; >+ typedef std::map< ClientWindowHandle, CefRefPtr<CefBrowser> > BrowserWindowMap; > static BrowserWindowMap browser_window_map_; > > typedef std::map<int32, CefRefPtr<CommandCallback> > CommandCallbackMap; >@@ -293,3 +299,4 @@ > }; > > #endif // CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_H_ >+ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 481836
:
386324
|
388826
|
395230
|
400750
|
402328
|
402330
|
402332
|
402334
|
402336
|
402338
|
402340
|
402342
|
402344
|
402346
|
402348
| 402350 |
402352
|
402354
|
402356
|
402358
|
436222
|
442870
|
445636
|
445638
|
518886