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

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

Issue 1205033005: Adds selection expansion support for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed java tests 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
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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override; 567 BrowserAccessibilityManager* GetRootBrowserAccessibilityManager() override;
568 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager() 568 BrowserAccessibilityManager* GetOrCreateRootBrowserAccessibilityManager()
569 override; 569 override;
570 // The following 4 functions are already listed under WebContents overrides: 570 // The following 4 functions are already listed under WebContents overrides:
571 // void Cut() override; 571 // void Cut() override;
572 // void Copy() override; 572 // void Copy() override;
573 // void Paste() override; 573 // void Paste() override;
574 // void SelectAll() override; 574 // void SelectAll() override;
575 void MoveRangeSelectionExtent(const gfx::Point& extent) override; 575 void MoveRangeSelectionExtent(const gfx::Point& extent) override;
576 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; 576 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
577 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust)
578 override;
577 579
578 // RenderFrameHostManager::Delegate ------------------------------------------ 580 // RenderFrameHostManager::Delegate ------------------------------------------
579 581
580 bool CreateRenderViewForRenderManager( 582 bool CreateRenderViewForRenderManager(
581 RenderViewHost* render_view_host, 583 RenderViewHost* render_view_host,
582 int opener_frame_routing_id, 584 int opener_frame_routing_id,
583 int proxy_routing_id, 585 int proxy_routing_id,
584 const FrameReplicationState& replicated_frame_state, 586 const FrameReplicationState& replicated_frame_state,
585 bool for_main_frame_navigation) override; 587 bool for_main_frame_navigation) override;
586 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host, 588 bool CreateRenderFrameForRenderManager(RenderFrameHost* render_frame_host,
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 // Adds/removes a callback called on creation of each new WebContents. 1293 // Adds/removes a callback called on creation of each new WebContents.
1292 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1294 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1293 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1295 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1294 1296
1295 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1297 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1296 }; 1298 };
1297 1299
1298 } // namespace content 1300 } // namespace content
1299 1301
1300 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1302 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698