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

Side by Side Diff: Source/testing/runner/WebTestThemeEngineWin.h

Issue 23440025: TestRunner library classes should be marked as NonCopyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 // In order to ensure maximum consistency of baselines across the different 40 // In order to ensure maximum consistency of baselines across the different
41 // Windows versions, we provide a simple implementation for DRT here 41 // Windows versions, we provide a simple implementation for DRT here
42 // instead. These controls are actually platform-independent (they're rendered 42 // instead. These controls are actually platform-independent (they're rendered
43 // using Skia) and could be used on Linux and the Mac as well, should we 43 // using Skia) and could be used on Linux and the Mac as well, should we
44 // choose to do so at some point. 44 // choose to do so at some point.
45 // 45 //
46 46
47 #ifndef WebTestThemeEngineWin_h 47 #ifndef WebTestThemeEngineWin_h
48 #define WebTestThemeEngineWin_h 48 #define WebTestThemeEngineWin_h
49 49
50 #include "public/platform/WebNonCopyable.h"
50 #include "public/platform/win/WebThemeEngine.h" 51 #include "public/platform/win/WebThemeEngine.h"
51 52
52 namespace WebTestRunner { 53 namespace WebTestRunner {
53 54
54 class WebTestThemeEngineWin : public WebKit::WebThemeEngine { 55 class WebTestThemeEngineWin : public WebKit::WebThemeEngine, public WebKit::WebN onCopyable {
55 public: 56 public:
56 WebTestThemeEngineWin() { } 57 WebTestThemeEngineWin() { }
57 58
58 // WebThemeEngine methods: 59 // WebThemeEngine methods:
59 virtual void paintButton( 60 virtual void paintButton(
60 WebKit::WebCanvas*, int part, int state, int classicState, 61 WebKit::WebCanvas*, int part, int state, int classicState,
61 const WebKit::WebRect&); 62 const WebKit::WebRect&);
62 63
63 virtual void paintMenuList( 64 virtual void paintMenuList(
64 WebKit::WebCanvas*, int part, int state, int classicState, 65 WebKit::WebCanvas*, int part, int state, int classicState,
(...skipping 28 matching lines...) Expand all
93 WebKit::WebCanvas*, const WebKit::WebRect& barRect, 94 WebKit::WebCanvas*, const WebKit::WebRect& barRect,
94 const WebKit::WebRect& valueRect, 95 const WebKit::WebRect& valueRect,
95 bool determinate, double time); 96 bool determinate, double time);
96 97
97 virtual WebKit::WebSize getSize(int part); 98 virtual WebKit::WebSize getSize(int part);
98 }; 99 };
99 100
100 } 101 }
101 102
102 #endif // WebTestThemeEngineWin_h 103 #endif // WebTestThemeEngineWin_h
OLDNEW
« no previous file with comments | « Source/testing/runner/WebTestThemeEngineMac.h ('k') | Source/testing/runner/WebUserMediaClientMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698