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

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

Issue 3156016: Making window.focus()/blur() work only when user initiated (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix Linux compile 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
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); 301 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate);
302 #endif 302 #endif
303 303
304 // IPC::Channel::Listener implementation ------------------------------------- 304 // IPC::Channel::Listener implementation -------------------------------------
305 305
306 virtual void OnMessageReceived(const IPC::Message& msg); 306 virtual void OnMessageReceived(const IPC::Message& msg);
307 307
308 // WebKit::WebWidgetClient implementation ------------------------------------ 308 // WebKit::WebWidgetClient implementation ------------------------------------
309 309
310 // Most methods are handled by RenderWidget. 310 // Most methods are handled by RenderWidget.
311 virtual void didFocus();
312 virtual void didBlur();
311 virtual void show(WebKit::WebNavigationPolicy policy); 313 virtual void show(WebKit::WebNavigationPolicy policy);
312 virtual void closeWidgetSoon(); 314 virtual void closeWidgetSoon();
313 virtual void runModal(); 315 virtual void runModal();
314 316
315 // WebKit::WebViewClient implementation -------------------------------------- 317 // WebKit::WebViewClient implementation --------------------------------------
316 318
317 virtual WebKit::WebView* createView( 319 virtual WebKit::WebView* createView(
318 WebKit::WebFrame* creator, 320 WebKit::WebFrame* creator,
319 const WebKit::WebWindowFeatures& features, 321 const WebKit::WebWindowFeatures& features,
320 const WebKit::WebString& frame_name); 322 const WebKit::WebString& frame_name);
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1294 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1293 // sections rather than throwing it randomly at the end. If you're adding a 1295 // sections rather than throwing it randomly at the end. If you're adding a
1294 // bunch of stuff, you should probably create a helper class and put your 1296 // bunch of stuff, you should probably create a helper class and put your
1295 // data and methods on that to avoid bloating RenderView more. 1297 // data and methods on that to avoid bloating RenderView more.
1296 // --------------------------------------------------------------------------- 1298 // ---------------------------------------------------------------------------
1297 1299
1298 DISALLOW_COPY_AND_ASSIGN(RenderView); 1300 DISALLOW_COPY_AND_ASSIGN(RenderView);
1299 }; 1301 };
1300 1302
1301 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1303 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/dragged_tab_controller.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698