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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 964403003: Make it possible to set the display mode from Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allowed include of "third_party/WebKit/public/platform/WebDisplayMode.h" Created 5 years, 8 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 321
322 protected: 322 protected:
323 // RenderWidgetHost protected overrides. 323 // RenderWidgetHost protected overrides.
324 void OnUserGesture() override; 324 void OnUserGesture() override;
325 void NotifyRendererUnresponsive() override; 325 void NotifyRendererUnresponsive() override;
326 void NotifyRendererResponsive() override; 326 void NotifyRendererResponsive() override;
327 void OnRenderAutoResized(const gfx::Size& size) override; 327 void OnRenderAutoResized(const gfx::Size& size) override;
328 void RequestToLockMouse(bool user_gesture, 328 void RequestToLockMouse(bool user_gesture,
329 bool last_unlocked_by_target) override; 329 bool last_unlocked_by_target) override;
330 bool IsFullscreen() const override; 330 bool IsFullscreen() const override;
331 blink::WebDisplayMode GetDisplayMode() const override;
331 void OnFocus() override; 332 void OnFocus() override;
332 void OnBlur() override; 333 void OnBlur() override;
333 334
334 // IPC message handlers. 335 // IPC message handlers.
335 void OnShowView(int route_id, 336 void OnShowView(int route_id,
336 WindowOpenDisposition disposition, 337 WindowOpenDisposition disposition,
337 const gfx::Rect& initial_rect, 338 const gfx::Rect& initial_rect,
338 bool user_gesture); 339 bool user_gesture);
339 void OnShowWidget(int route_id, const gfx::Rect& initial_rect); 340 void OnShowWidget(int route_id, const gfx::Rect& initial_rect);
340 void OnShowFullscreenWidget(int route_id); 341 void OnShowFullscreenWidget(int route_id);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 462 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
462 }; 463 };
463 464
464 #if defined(COMPILER_MSVC) 465 #if defined(COMPILER_MSVC)
465 #pragma warning(pop) 466 #pragma warning(pop)
466 #endif 467 #endif
467 468
468 } // namespace content 469 } // namespace content
469 470
470 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 471 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698