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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/public/web/WebView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index b5b544caff73dfcfbdbc8dd1ad3b930de2ecaacd..452b8434c95c8ebe8b4945d10ef2c074ffc06df9 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -31,6 +31,7 @@
#ifndef WebWidget_h
#define WebWidget_h
+#include "../platform/WebBrowserControlsState.h"
#include "../platform/WebCanvas.h"
#include "../platform/WebCommon.h"
#include "../platform/WebFloatSize.h"
@@ -39,7 +40,6 @@
#include "../platform/WebRect.h"
#include "../platform/WebSize.h"
#include "../platform/WebTextInputInfo.h"
-#include "../platform/WebTopControlsState.h"
#include "WebCompositionUnderline.h"
#include "WebRange.h"
#include "WebTextDirection.h"
@@ -133,7 +133,7 @@ class WebWidget {
const WebFloatSize& layoutViewportDelta,
const WebFloatSize& elasticOverscrollDelta,
float scaleFactor,
- float topControlsShownRatioDelta) {}
+ float browserControlsShownRatioDelta) {}
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() {}
@@ -245,11 +245,12 @@ class WebWidget {
// but not the select popup.
virtual WebPagePopup* pagePopup() const { return 0; }
- // Updates top controls constraints and current state. Allows embedder to
- // control what are valid states for top controls and if it should animate.
- virtual void updateTopControlsState(WebTopControlsState constraints,
- WebTopControlsState current,
- bool animate) {}
+ // Updates browser controls constraints and current state. Allows embedder to
+ // control what are valid states for browser controls and if it should
+ // animate.
+ virtual void updateBrowserControlsState(WebBrowserControlsState constraints,
+ WebBrowserControlsState current,
+ bool animate) {}
// Populate |bounds| with the composition character bounds for the ongoing
// composition. Returns false if there is no focused input or any ongoing
« no previous file with comments | « third_party/WebKit/public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698