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

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

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Add more tests. Created 3 years, 11 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 RenderFrameHostImpl* FindFrameByFrameTreeNodeId( 271 RenderFrameHostImpl* FindFrameByFrameTreeNodeId(
272 int frame_tree_node_id) override; 272 int frame_tree_node_id) override;
273 void ForEachFrame( 273 void ForEachFrame(
274 const base::Callback<void(RenderFrameHost*)>& on_frame) override; 274 const base::Callback<void(RenderFrameHost*)>& on_frame) override;
275 std::vector<RenderFrameHost*> GetAllFrames() override; 275 std::vector<RenderFrameHost*> GetAllFrames() override;
276 int SendToAllFrames(IPC::Message* message) override; 276 int SendToAllFrames(IPC::Message* message) override;
277 RenderViewHostImpl* GetRenderViewHost() const override; 277 RenderViewHostImpl* GetRenderViewHost() const override;
278 RenderWidgetHostView* GetRenderWidgetHostView() const override; 278 RenderWidgetHostView* GetRenderWidgetHostView() const override;
279 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override; 279 RenderWidgetHostView* GetTopLevelRenderWidgetHostView() override;
280 void ClosePage() override; 280 void ClosePage() override;
281 void OnReplaced(WebContents* new_contents) override;
281 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override; 282 RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const override;
282 SkColor GetThemeColor() const override; 283 SkColor GetThemeColor() const override;
283 std::unique_ptr<WebUI> CreateSubframeWebUI( 284 std::unique_ptr<WebUI> CreateSubframeWebUI(
284 const GURL& url, 285 const GURL& url,
285 const std::string& frame_name) override; 286 const std::string& frame_name) override;
286 WebUI* GetWebUI() const override; 287 WebUI* GetWebUI() const override;
287 WebUI* GetCommittedWebUI() const override; 288 WebUI* GetCommittedWebUI() const override;
288 void SetUserAgentOverride(const std::string& override) override; 289 void SetUserAgentOverride(const std::string& override) override;
289 const std::string& GetUserAgentOverride() const override; 290 const std::string& GetUserAgentOverride() const override;
290 void EnableWebContentsOnlyAccessibilityMode() override; 291 void EnableWebContentsOnlyAccessibilityMode() override;
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 // Adds/removes a callback called on creation of each new WebContents. 1517 // Adds/removes a callback called on creation of each new WebContents.
1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1518 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1519 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1519 1520
1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1521 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1521 }; 1522 };
1522 1523
1523 } // namespace content 1524 } // namespace content
1524 1525
1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1526 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698