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

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

Issue 21540: Add developer tools message forwarding to browser (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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_MAC_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
(...skipping 28 matching lines...) Expand all
39 virtual RenderWidgetHostView* CreateViewForWidget( 39 virtual RenderWidgetHostView* CreateViewForWidget(
40 RenderWidgetHost* render_widget_host); 40 RenderWidgetHost* render_widget_host);
41 virtual gfx::NativeView GetNativeView() const; 41 virtual gfx::NativeView GetNativeView() const;
42 virtual gfx::NativeView GetContentNativeView() const; 42 virtual gfx::NativeView GetContentNativeView() const;
43 virtual gfx::NativeWindow GetTopLevelNativeView() const; 43 virtual gfx::NativeWindow GetTopLevelNativeView() const;
44 virtual void GetContainerBounds(gfx::Rect* out) const; 44 virtual void GetContainerBounds(gfx::Rect* out) const;
45 virtual void OnContentsDestroy(); 45 virtual void OnContentsDestroy();
46 virtual void SetPageTitle(const std::wstring& title); 46 virtual void SetPageTitle(const std::wstring& title);
47 virtual void Invalidate(); 47 virtual void Invalidate();
48 virtual void SizeContents(const gfx::Size& size); 48 virtual void SizeContents(const gfx::Size& size);
49 virtual void OpenDeveloperTools();
50 virtual void ForwardMessageToDevToolsClient(const IPC::Message& message);
49 virtual void FindInPage(const Browser& browser, 51 virtual void FindInPage(const Browser& browser,
50 bool find_next, bool forward_direction); 52 bool find_next, bool forward_direction);
51 virtual void HideFindBar(bool end_session); 53 virtual void HideFindBar(bool end_session);
52 virtual bool GetFindBarWindowInfo(gfx::Point* position, 54 virtual bool GetFindBarWindowInfo(gfx::Point* position,
53 bool* fully_visible) const; 55 bool* fully_visible) const;
54 56
55 // Backend implementation of RenderViewHostDelegate::View. 57 // Backend implementation of RenderViewHostDelegate::View.
56 virtual WebContents* CreateNewWindowInternal( 58 virtual WebContents* CreateNewWindowInternal(
57 int route_id, base::WaitableEvent* modal_dialog_event); 59 int route_id, base::WaitableEvent* modal_dialog_event);
58 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id, 60 virtual RenderWidgetHostView* CreateNewWidgetInternal(int route_id,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 NotificationRegistrar registrar_; 98 NotificationRegistrar registrar_;
97 99
98 // Used to render the sad tab. This will be non-NULL only when the sad tab is 100 // Used to render the sad tab. This will be non-NULL only when the sad tab is
99 // visible. 101 // visible.
100 scoped_cftyperef<SadTabView*> sad_tab_; 102 scoped_cftyperef<SadTabView*> sad_tab_;
101 103
102 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac); 104 DISALLOW_COPY_AND_ASSIGN(WebContentsViewMac);
103 }; 105 };
104 106
105 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_ 107 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view_gtk.cc ('k') | chrome/browser/tab_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698