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

Side by Side Diff: chrome/renderer/chrome_render_view_observer.h

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/public/common/top_controls_state.h" 15 #include "content/public/common/browser_controls_state.h"
16 #include "content/public/renderer/render_view_observer.h" 16 #include "content/public/renderer/render_view_observer.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 class ContentSettingsObserver; 19 class ContentSettingsObserver;
20 class SkBitmap; 20 class SkBitmap;
21 21
22 namespace blink { 22 namespace blink {
23 class WebView; 23 class WebView;
24 struct WebWindowFeatures; 24 struct WebWindowFeatures;
25 } 25 }
(...skipping 20 matching lines...) Expand all
46 void Navigate(const GURL& url) override; 46 void Navigate(const GURL& url) override;
47 void OnDestruct() override; 47 void OnDestruct() override;
48 48
49 #if !defined(OS_ANDROID) 49 #if !defined(OS_ANDROID)
50 void OnWebUIJavaScript(const base::string16& javascript); 50 void OnWebUIJavaScript(const base::string16& javascript);
51 #endif 51 #endif
52 #if defined(ENABLE_EXTENSIONS) 52 #if defined(ENABLE_EXTENSIONS)
53 void OnSetVisuallyDeemphasized(bool deemphasized); 53 void OnSetVisuallyDeemphasized(bool deemphasized);
54 #endif 54 #endif
55 #if defined(OS_ANDROID) 55 #if defined(OS_ANDROID)
56 void OnUpdateTopControlsState(content::TopControlsState constraints, 56 void OnUpdateBrowserControlsState(content::BrowserControlsState constraints,
57 content::TopControlsState current, 57 content::BrowserControlsState current,
58 bool animate); 58 bool animate);
59 #endif 59 #endif
60 void OnGetWebApplicationInfo(); 60 void OnGetWebApplicationInfo();
61 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features); 61 void OnSetWindowFeatures(const blink::WebWindowFeatures& window_features);
62 62
63 // Determines if a host is in the strict security host set. 63 // Determines if a host is in the strict security host set.
64 bool IsStrictSecurityHost(const std::string& host); 64 bool IsStrictSecurityHost(const std::string& host);
65 65
66 // Save the JavaScript to preload if a ViewMsg_WebUIJavaScript is received. 66 // Save the JavaScript to preload if a ViewMsg_WebUIJavaScript is received.
67 std::vector<base::string16> webui_javascript_; 67 std::vector<base::string16> webui_javascript_;
68 68
69 // Owned by ChromeContentRendererClient and outlive us. 69 // Owned by ChromeContentRendererClient and outlive us.
70 web_cache::WebCacheImpl* web_cache_impl_; 70 web_cache::WebCacheImpl* web_cache_impl_;
71 71
72 // true if webview is overlayed with grey color. 72 // true if webview is overlayed with grey color.
73 bool webview_visually_deemphasized_; 73 bool webview_visually_deemphasized_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver); 75 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewObserver);
76 }; 76 };
77 77
78 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_ 78 #endif // CHROME_RENDERER_CHROME_RENDER_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_view_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698