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

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

Issue 3055009: Use RenderWidget(Host) for full screen (Closed)
Patch Set: Add IPC::SyncMessage dependency. Fix auto complete. Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool* did_suppress_message); 82 bool* did_suppress_message);
83 virtual void Close(RenderViewHost* render_view_host); 83 virtual void Close(RenderViewHost* render_view_host);
84 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 84 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
85 85
86 // RenderViewHostDelegate::View 86 // RenderViewHostDelegate::View
87 virtual void CreateNewWindow( 87 virtual void CreateNewWindow(
88 int route_id, 88 int route_id,
89 WindowContainerType window_container_type, 89 WindowContainerType window_container_type,
90 const string16& frame_name); 90 const string16& frame_name);
91 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); 91 virtual void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type);
92 virtual void CreateNewFullscreenWidget(
93 int route_id, WebKit::WebPopupType popup_type);
92 virtual void ShowCreatedWindow(int route_id, 94 virtual void ShowCreatedWindow(int route_id,
93 WindowOpenDisposition disposition, 95 WindowOpenDisposition disposition,
94 const gfx::Rect& initial_pos, 96 const gfx::Rect& initial_pos,
95 bool user_gesture); 97 bool user_gesture);
96 virtual void ShowCreatedWidget(int route_id, 98 virtual void ShowCreatedWidget(int route_id,
97 const gfx::Rect& initial_pos); 99 const gfx::Rect& initial_pos);
100 virtual void ShowCreatedFullscreenWidget(int route_id);
98 virtual void ShowContextMenu(const ContextMenuParams& params) {} 101 virtual void ShowContextMenu(const ContextMenuParams& params) {}
99 virtual void StartDragging(const WebDropData& drop_data, 102 virtual void StartDragging(const WebDropData& drop_data,
100 WebKit::WebDragOperationsMask allowed_operations, 103 WebKit::WebDragOperationsMask allowed_operations,
101 const SkBitmap& image, 104 const SkBitmap& image,
102 const gfx::Point& image_offset) {} 105 const gfx::Point& image_offset) {}
103 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {} 106 virtual void UpdateDragCursor(WebKit::WebDragOperation operation) {}
104 virtual void GotFocus() {} 107 virtual void GotFocus() {}
105 virtual void TakeFocus(bool reverse) {} 108 virtual void TakeFocus(bool reverse) {}
106 virtual void Activate() {} 109 virtual void Activate() {}
107 virtual void Deactivate() {} 110 virtual void Deactivate() {}
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 BackgroundContents* contents; 162 BackgroundContents* contents;
160 163
161 // The name of the parent frame for these contents. 164 // The name of the parent frame for these contents.
162 const string16& frame_name; 165 const string16& frame_name;
163 166
164 // The ID of the parent application (if any). 167 // The ID of the parent application (if any).
165 const string16& application_id; 168 const string16& application_id;
166 }; 169 };
167 170
168 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 171 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.h ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698