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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1212373009: Route 'Select All' OS method through RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move TearDownTestClipboard back to InterstitialPageImplTest.Paste Created 5 years, 5 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 | « content/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 void ScreenInfoChanged() override; 556 void ScreenInfoChanged() override;
557 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 557 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
558 bool* is_keyboard_shortcut) override; 558 bool* is_keyboard_shortcut) override;
559 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override; 559 void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
560 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override; 560 bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override;
561 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override; 561 bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override;
562 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override; 562 void DidSendScreenRects(RenderWidgetHostImpl* rwh) override;
563 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; 563 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
564 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() 564 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
565 override; 565 override;
566 // Following three functions are already listed under WebContents overrides. 566 // The following 4 functions are already listed under WebContents overrides:
567 // void Cut() override; 567 // void Cut() override;
568 // void Copy() override; 568 // void Copy() override;
569 // void Paste() override; 569 // void Paste() override;
570 // void SelectAll() override;
570 void MoveRangeSelectionExtent(const gfx::Point& extent) override; 571 void MoveRangeSelectionExtent(const gfx::Point& extent) override;
571 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; 572 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
572 573
573 // RenderFrameHostManager::Delegate ------------------------------------------ 574 // RenderFrameHostManager::Delegate ------------------------------------------
574 575
575 bool CreateRenderViewForRenderManager( 576 bool CreateRenderViewForRenderManager(
576 RenderViewHost* render_view_host, 577 RenderViewHost* render_view_host,
577 int opener_route_id, 578 int opener_route_id,
578 int proxy_routing_id, 579 int proxy_routing_id,
579 const FrameReplicationState& replicated_frame_state, 580 const FrameReplicationState& replicated_frame_state,
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 // Adds/removes a callback called on creation of each new WebContents. 1287 // Adds/removes a callback called on creation of each new WebContents.
1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1288 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1289 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1289 1290
1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1291 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1291 }; 1292 };
1292 1293
1293 } // namespace content 1294 } // namespace content
1294 1295
1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1296 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698