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

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

Issue 49041: WebContentsView became more than just an interface with 48103 (r12483). If we... (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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_WIN_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
7 7
8 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/tab_contents/web_contents_view.h" 10 #include "chrome/browser/tab_contents/web_contents_view.h"
(...skipping 10 matching lines...) Expand all
21 public views::WidgetWin { 21 public views::WidgetWin {
22 public: 22 public:
23 // The corresponding WebContents is passed in the constructor, and manages our 23 // The corresponding WebContents is passed in the constructor, and manages our
24 // lifetime. This doesn't need to be the case, but is this way currently 24 // lifetime. This doesn't need to be the case, but is this way currently
25 // because that's what was easiest when they were split. 25 // because that's what was easiest when they were split.
26 explicit WebContentsViewWin(WebContents* web_contents); 26 explicit WebContentsViewWin(WebContents* web_contents);
27 virtual ~WebContentsViewWin(); 27 virtual ~WebContentsViewWin();
28 28
29 // WebContentsView implementation -------------------------------------------- 29 // WebContentsView implementation --------------------------------------------
30 30
31 virtual WebContents* GetWebContents();
32 virtual void CreateView(); 31 virtual void CreateView();
33 virtual RenderWidgetHostView* CreateViewForWidget( 32 virtual RenderWidgetHostView* CreateViewForWidget(
34 RenderWidgetHost* render_widget_host); 33 RenderWidgetHost* render_widget_host);
35 virtual gfx::NativeView GetNativeView() const; 34 virtual gfx::NativeView GetNativeView() const;
36 virtual gfx::NativeView GetContentNativeView() const; 35 virtual gfx::NativeView GetContentNativeView() const;
37 virtual gfx::NativeWindow GetTopLevelNativeWindow() const; 36 virtual gfx::NativeWindow GetTopLevelNativeWindow() const;
38 virtual void GetContainerBounds(gfx::Rect* out) const; 37 virtual void GetContainerBounds(gfx::Rect* out) const;
39 virtual void OnContentsDestroy(); 38 virtual void OnContentsDestroy();
40 virtual void SetPageTitle(const std::wstring& title); 39 virtual void SetPageTitle(const std::wstring& title);
41 virtual void Invalidate(); 40 virtual void Invalidate();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Whether to ignore the next CHAR keyboard event. 103 // Whether to ignore the next CHAR keyboard event.
105 bool ignore_next_char_event_; 104 bool ignore_next_char_event_;
106 105
107 // The id used in the ViewStorage to store the last focused view. 106 // The id used in the ViewStorage to store the last focused view.
108 int last_focused_view_storage_id_; 107 int last_focused_view_storage_id_;
109 108
110 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); 109 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin);
111 }; 110 };
112 111
113 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ 112 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view_mac.mm ('k') | chrome/browser/tab_contents/web_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698