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

Side by Side Diff: content/child/webthemeengine_impl_default.h

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/child/websocket_dispatcher.cc ('k') | content/child/webthemeengine_impl_default.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 5 #ifndef CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 6 #define CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
7 7
8 #include <stdint.h>
9
10 #include "build/build_config.h"
8 #include "third_party/WebKit/public/platform/WebThemeEngine.h" 11 #include "third_party/WebKit/public/platform/WebThemeEngine.h"
9 12
10 namespace content { 13 namespace content {
11 14
12 class WebThemeEngineImpl : public blink::WebThemeEngine { 15 class WebThemeEngineImpl : public blink::WebThemeEngine {
13 public: 16 public:
14 // WebThemeEngine methods: 17 // WebThemeEngine methods:
15 blink::WebSize getSize(blink::WebThemeEngine::Part) override; 18 blink::WebSize getSize(blink::WebThemeEngine::Part) override;
16 void paint(blink::WebCanvas* canvas, 19 void paint(blink::WebCanvas* canvas,
17 blink::WebThemeEngine::Part part, 20 blink::WebThemeEngine::Part part,
18 blink::WebThemeEngine::State state, 21 blink::WebThemeEngine::State state,
19 const blink::WebRect& rect, 22 const blink::WebRect& rect,
20 const blink::WebThemeEngine::ExtraParams* extra_params) override; 23 const blink::WebThemeEngine::ExtraParams* extra_params) override;
21 virtual void paintStateTransition(blink::WebCanvas* canvas, 24 virtual void paintStateTransition(blink::WebCanvas* canvas,
22 blink::WebThemeEngine::Part part, 25 blink::WebThemeEngine::Part part,
23 blink::WebThemeEngine::State startState, 26 blink::WebThemeEngine::State startState,
24 blink::WebThemeEngine::State endState, 27 blink::WebThemeEngine::State endState,
25 double progress, 28 double progress,
26 const blink::WebRect& rect); 29 const blink::WebRect& rect);
27 30
28 #if defined(OS_WIN) 31 #if defined(OS_WIN)
29 // Caches the scrollbar metrics. 32 // Caches the scrollbar metrics.
30 static void cacheScrollBarMetrics(int32 vertical_scroll_bar_width, 33 static void cacheScrollBarMetrics(int32_t vertical_scroll_bar_width,
31 int32 horizontal_scroll_bar_height, 34 int32_t horizontal_scroll_bar_height,
32 int32 vertical_arrow_bitmap_height, 35 int32_t vertical_arrow_bitmap_height,
33 int32 horizontal_arrow_bitmap_width); 36 int32_t horizontal_arrow_bitmap_width);
34 #endif 37 #endif
35 }; 38 };
36 39
37 } // namespace content 40 } // namespace content
38 41
39 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_ 42 #endif // CONTENT_CHILD_WEBTHEMEENGINE_IMPL_DEFAULT_H_
OLDNEW
« no previous file with comments | « content/child/websocket_dispatcher.cc ('k') | content/child/webthemeengine_impl_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698