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

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

Issue 1407173005: Revert of OOPIF: Route keyboard events to focused frame in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-page
Patch Set: Created 5 years, 1 month 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 // void Cut() override; 583 // void Cut() override;
584 // void Copy() override; 584 // void Copy() override;
585 // void Paste() override; 585 // void Paste() override;
586 // void SelectAll() override; 586 // void SelectAll() override;
587 void MoveRangeSelectionExtent(const gfx::Point& extent) override; 587 void MoveRangeSelectionExtent(const gfx::Point& extent) override;
588 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override; 588 void SelectRange(const gfx::Point& base, const gfx::Point& extent) override;
589 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) 589 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust)
590 override; 590 override;
591 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; 591 RenderWidgetHostInputEventRouter* GetInputEventRouter() override;
592 void ReplicatePageFocus(bool is_focused) override; 592 void ReplicatePageFocus(bool is_focused) override;
593 RenderWidgetHostImpl* GetFocusedRenderWidgetHost() override;
594 593
595 // RenderFrameHostManager::Delegate ------------------------------------------ 594 // RenderFrameHostManager::Delegate ------------------------------------------
596 595
597 bool CreateRenderViewForRenderManager( 596 bool CreateRenderViewForRenderManager(
598 RenderViewHost* render_view_host, 597 RenderViewHost* render_view_host,
599 int opener_frame_routing_id, 598 int opener_frame_routing_id,
600 int proxy_routing_id, 599 int proxy_routing_id,
601 const FrameReplicationState& replicated_frame_state) override; 600 const FrameReplicationState& replicated_frame_state) override;
602 void CreateRenderWidgetHostViewForRenderManager( 601 void CreateRenderWidgetHostViewForRenderManager(
603 RenderViewHost* render_view_host) override; 602 RenderViewHost* render_view_host) override;
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // Adds/removes a callback called on creation of each new WebContents. 1330 // Adds/removes a callback called on creation of each new WebContents.
1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1331 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1332 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1334 1333
1335 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1334 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1336 }; 1335 };
1337 1336
1338 } // namespace content 1337 } // namespace content
1339 1338
1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1339 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.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