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

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

Issue 6462017: gtk: Improve fullscreen RenderWidgetHostViewGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update a comment Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 WindowContainerType window_container_type, 46 WindowContainerType window_container_type,
47 const string16& frame_name); 47 const string16& frame_name);
48 48
49 // Creates a new RenderWidgetHost and saves it for later retrieval by 49 // Creates a new RenderWidgetHost and saves it for later retrieval by
50 // GetCreatedWidget. 50 // GetCreatedWidget.
51 virtual RenderWidgetHostView* CreateNewWidget(int route_id, 51 virtual RenderWidgetHostView* CreateNewWidget(int route_id,
52 WebKit::WebPopupType popup_type, 52 WebKit::WebPopupType popup_type,
53 RenderProcessHost* process); 53 RenderProcessHost* process);
54 54
55 virtual RenderWidgetHostView* CreateNewFullscreenWidget( 55 virtual RenderWidgetHostView* CreateNewFullscreenWidget(
56 int route_id, 56 int route_id, RenderProcessHost* process);
57 WebKit::WebPopupType popup_type,
58 RenderProcessHost* process);
59 57
60 // Finds the new RenderWidgetHost and returns it. Note that this can only be 58 // Finds the new RenderWidgetHost and returns it. Note that this can only be
61 // called once as this call also removes it from the internal map. 59 // called once as this call also removes it from the internal map.
62 virtual RenderWidgetHostView* GetCreatedWidget(int route_id); 60 virtual RenderWidgetHostView* GetCreatedWidget(int route_id);
63 61
64 // Finds the new RenderViewHost/Delegate by route_id, initializes it for 62 // Finds the new RenderViewHost/Delegate by route_id, initializes it for
65 // for renderer-initiated creation, and returns the TabContents that needs 63 // for renderer-initiated creation, and returns the TabContents that needs
66 // to be shown, if there is one (i.e. not a BackgroundContents). Note that 64 // to be shown, if there is one (i.e. not a BackgroundContents). Note that
67 // this can only be called once as this call also removes it from the internal 65 // this can only be called once as this call also removes it from the internal
68 // map. 66 // map.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 110
113 // Master switch for enabling/disabling GPU acceleration for the current 111 // Master switch for enabling/disabling GPU acceleration for the current
114 // browser session. It does not change the acceleration settings for 112 // browser session. It does not change the acceleration settings for
115 // existing tabs, just the future ones. 113 // existing tabs, just the future ones.
116 static bool gpu_enabled_; 114 static bool gpu_enabled_;
117 115
118 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); 116 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper);
119 }; 117 };
120 118
121 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ 119 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698