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

Side by Side Diff: content/renderer/render_view.h

Issue 7764006: Enable Fixed Layout Mode on TOUCH_UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed spacing. Created 9 years, 3 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
« no previous file with comments | « no previous file | content/renderer/render_view.cc » ('j') | content/renderer/render_view.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 class WebStorageNamespace; 143 class WebStorageNamespace;
144 class WebURLLoader; 144 class WebURLLoader;
145 class WebURLRequest; 145 class WebURLRequest;
146 class WebView; 146 class WebView;
147 struct WebContextMenuData; 147 struct WebContextMenuData;
148 struct WebFileChooserParams; 148 struct WebFileChooserParams;
149 struct WebFindOptions; 149 struct WebFindOptions;
150 struct WebMediaPlayerAction; 150 struct WebMediaPlayerAction;
151 struct WebPluginParams; 151 struct WebPluginParams;
152 struct WebPoint; 152 struct WebPoint;
153 struct WebRect;
153 struct WebWindowFeatures; 154 struct WebWindowFeatures;
154 } 155 }
155 156
156 // We need to prevent a page from trying to create infinite popups. It is not 157 // We need to prevent a page from trying to create infinite popups. It is not
157 // as simple as keeping a count of the number of immediate children 158 // as simple as keeping a count of the number of immediate children
158 // popups. Having an html file that window.open()s itself would create 159 // popups. Having an html file that window.open()s itself would create
159 // an unlimited chain of RenderViews who only have one RenderView child. 160 // an unlimited chain of RenderViews who only have one RenderView child.
160 // 161 //
161 // Therefore, each new top level RenderView creates a new counter and shares it 162 // Therefore, each new top level RenderView creates a new counter and shares it
162 // with all its children and grandchildren popup RenderViews created with 163 // with all its children and grandchildren popup RenderViews created with
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 WebKit::WebFrame* creator, 365 WebKit::WebFrame* creator,
365 const WebKit::WebURLRequest& request, 366 const WebKit::WebURLRequest& request,
366 const WebKit::WebWindowFeatures& features, 367 const WebKit::WebWindowFeatures& features,
367 const WebKit::WebString& frame_name); 368 const WebKit::WebString& frame_name);
368 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 369 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
369 virtual WebKit::WebWidget* createPopupMenu( 370 virtual WebKit::WebWidget* createPopupMenu(
370 const WebKit::WebPopupMenuInfo& info); 371 const WebKit::WebPopupMenuInfo& info);
371 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( 372 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu(
372 const WebKit::WebPopupMenuInfo& popup_menu_info, 373 const WebKit::WebPopupMenuInfo& popup_menu_info,
373 WebKit::WebExternalPopupMenuClient* popup_menu_client); 374 WebKit::WebExternalPopupMenuClient* popup_menu_client);
375 #if defined(TOUCH_UI)
376 virtual WebKit::WebRect getDeviceRect() const;
377 #endif
374 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 378 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
375 unsigned quota); 379 unsigned quota);
376 virtual void didAddMessageToConsole( 380 virtual void didAddMessageToConsole(
377 const WebKit::WebConsoleMessage& message, 381 const WebKit::WebConsoleMessage& message,
378 const WebKit::WebString& source_name, 382 const WebKit::WebString& source_name,
379 unsigned source_line); 383 unsigned source_line);
380 virtual void printPage(WebKit::WebFrame* frame); 384 virtual void printPage(WebKit::WebFrame* frame);
381 virtual WebKit::WebNotificationPresenter* notificationPresenter(); 385 virtual WebKit::WebNotificationPresenter* notificationPresenter();
382 virtual bool enumerateChosenDirectory( 386 virtual bool enumerateChosenDirectory(
383 const WebKit::WebString& path, 387 const WebKit::WebString& path,
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 // bunch of stuff, you should probably create a helper class and put your 1245 // bunch of stuff, you should probably create a helper class and put your
1242 // data and methods on that to avoid bloating RenderView more. You can use 1246 // data and methods on that to avoid bloating RenderView more. You can use
1243 // the Observer interface to filter IPC messages and receive frame change 1247 // the Observer interface to filter IPC messages and receive frame change
1244 // notifications. 1248 // notifications.
1245 // --------------------------------------------------------------------------- 1249 // ---------------------------------------------------------------------------
1246 1250
1247 DISALLOW_COPY_AND_ASSIGN(RenderView); 1251 DISALLOW_COPY_AND_ASSIGN(RenderView);
1248 }; 1252 };
1249 1253
1250 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1254 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view.cc » ('j') | content/renderer/render_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698