Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: chrome/browser/tab_contents/web_contents_view_gtk.h

Issue 21540: Add developer tools message forwarding to browser (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
7 7
8 #include "chrome/browser/tab_contents/web_contents_view.h" 8 #include "chrome/browser/tab_contents/web_contents_view.h"
9 9
10 class WebContentsViewGtk : public WebContentsView { 10 class WebContentsViewGtk : public WebContentsView {
(...skipping 12 matching lines...) Expand all
23 RenderWidgetHost* render_widget_host); 23 RenderWidgetHost* render_widget_host);
24 24
25 virtual gfx::NativeView GetNativeView() const; 25 virtual gfx::NativeView GetNativeView() const;
26 virtual gfx::NativeView GetContentNativeView() const; 26 virtual gfx::NativeView GetContentNativeView() const;
27 virtual gfx::NativeWindow GetTopLevelNativeView() const; 27 virtual gfx::NativeWindow GetTopLevelNativeView() const;
28 virtual void GetContainerBounds(gfx::Rect* out) const; 28 virtual void GetContainerBounds(gfx::Rect* out) const;
29 virtual void OnContentsDestroy(); 29 virtual void OnContentsDestroy();
30 virtual void SetPageTitle(const std::wstring& title); 30 virtual void SetPageTitle(const std::wstring& title);
31 virtual void Invalidate(); 31 virtual void Invalidate();
32 virtual void SizeContents(const gfx::Size& size); 32 virtual void SizeContents(const gfx::Size& size);
33 virtual void OpenDeveloperTools();
34 virtual void ForwardMessageToDevToolsClient(const IPC::Message& message);
33 virtual void FindInPage(const Browser& browser, 35 virtual void FindInPage(const Browser& browser,
34 bool find_next, bool forward_direction); 36 bool find_next, bool forward_direction);
35 virtual void HideFindBar(bool end_session); 37 virtual void HideFindBar(bool end_session);
36 virtual void ReparentFindWindow(Browser* new_browser) const; 38 virtual void ReparentFindWindow(Browser* new_browser) const;
37 virtual bool GetFindBarWindowInfo(gfx::Point* position, 39 virtual bool GetFindBarWindowInfo(gfx::Point* position,
38 bool* fully_visible) const; 40 bool* fully_visible) const;
39 41
40 // Backend implementation of RenderViewHostDelegate::View. 42 // Backend implementation of RenderViewHostDelegate::View.
41 virtual WebContents* CreateNewWindowInternal( 43 virtual WebContents* CreateNewWindowInternal(
42 int route_id, base::WaitableEvent* modal_dialog_event); 44 int route_id, base::WaitableEvent* modal_dialog_event);
(...skipping 18 matching lines...) Expand all
61 private: 63 private:
62 WebContents* web_contents_; 64 WebContents* web_contents_;
63 65
64 GtkWidget* vbox_; 66 GtkWidget* vbox_;
65 67
66 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk); 68 DISALLOW_COPY_AND_ASSIGN(WebContentsViewGtk);
67 }; 69 };
68 70
69 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_ 71 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_GTK_H_
70 72
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view.h ('k') | chrome/browser/tab_contents/web_contents_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698