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

Side by Side Diff: content/renderer/render_widget.h

Issue 618013003: Support fullscreen for non-video elements in the WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactorFullscreenNonMedia
Patch Set: Created 6 years, 2 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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 #if defined(OS_MACOSX) || defined(USE_AURA) 290 #if defined(OS_MACOSX) || defined(USE_AURA)
291 // Checks if the composition range or composition character bounds have been 291 // Checks if the composition range or composition character bounds have been
292 // changed. If they are changed, the new value will be sent to the browser 292 // changed. If they are changed, the new value will be sent to the browser
293 // process. 293 // process.
294 void UpdateCompositionInfo(bool should_update_range); 294 void UpdateCompositionInfo(bool should_update_range);
295 #endif 295 #endif
296 296
297 #if defined(OS_ANDROID) 297 #if defined(OS_ANDROID)
298 void DidChangeBodyBackgroundColor(SkColor bg_color); 298 void DidChangeBodyBackgroundColor(SkColor bg_color);
299
300 // blink::WebWidgetClient
301 virtual void didEnterFullscreen();
302 virtual void didExitFullscreen();
299 #endif 303 #endif
300 304
301 protected: 305 protected:
302 // Friend RefCounted so that the dtor can be non-public. Using this class 306 // Friend RefCounted so that the dtor can be non-public. Using this class
303 // without ref-counting is an error. 307 // without ref-counting is an error.
304 friend class base::RefCounted<RenderWidget>; 308 friend class base::RefCounted<RenderWidget>;
305 // For unit tests. 309 // For unit tests.
306 friend class RenderWidgetTest; 310 friend class RenderWidgetTest;
307 311
308 enum ResizeAck { 312 enum ResizeAck {
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 ui::MenuSourceType context_menu_source_type_; 754 ui::MenuSourceType context_menu_source_type_;
751 bool has_host_context_menu_location_; 755 bool has_host_context_menu_location_;
752 gfx::Point host_context_menu_location_; 756 gfx::Point host_context_menu_location_;
753 757
754 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 758 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
755 }; 759 };
756 760
757 } // namespace content 761 } // namespace content
758 762
759 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 763 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698