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

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

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed flag Created 8 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/content_renderer.gypi ('k') | content/renderer/render_view_impl.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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class GURL; 64 class GURL;
65 class JavaBridgeDispatcher; 65 class JavaBridgeDispatcher;
66 class LoadProgressTracker; 66 class LoadProgressTracker;
67 class MediaStreamDispatcher; 67 class MediaStreamDispatcher;
68 class MediaStreamImpl; 68 class MediaStreamImpl;
69 class NotificationProvider; 69 class NotificationProvider;
70 class PepperDeviceTest; 70 class PepperDeviceTest;
71 struct PP_NetAddress_Private; 71 struct PP_NetAddress_Private;
72 class RenderWidgetFullscreenPepper; 72 class RenderWidgetFullscreenPepper;
73 class RendererAccessibility; 73 class RendererAccessibility;
74 #if defined(ENABLE_INPUT_COLOR)
75 class RendererWebColorChooserImpl;
76 #endif // defined(ENABLE_INPUT_COLOR)
74 class SkBitmap; 77 class SkBitmap;
75 class SpeechInputDispatcher; 78 class SpeechInputDispatcher;
76 struct ViewMsg_Navigate_Params; 79 struct ViewMsg_Navigate_Params;
77 struct ViewMsg_StopFinding_Params; 80 struct ViewMsg_StopFinding_Params;
78 struct ViewMsg_SwapOut_Params; 81 struct ViewMsg_SwapOut_Params;
79 struct WebDropData; 82 struct WebDropData;
80 class WebIntentsHost; 83 class WebIntentsHost;
81 class WebPluginDelegateProxy; 84 class WebPluginDelegateProxy;
82 class WebUIBindings; 85 class WebUIBindings;
83 86
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 WebKit::WebFileChooserCompletion* chooser_completion); 345 WebKit::WebFileChooserCompletion* chooser_completion);
343 virtual void didStartLoading(); 346 virtual void didStartLoading();
344 virtual void didStopLoading(); 347 virtual void didStopLoading();
345 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, 348 virtual void didChangeLoadProgress(WebKit::WebFrame* frame,
346 double load_progress); 349 double load_progress);
347 virtual bool isSmartInsertDeleteEnabled(); 350 virtual bool isSmartInsertDeleteEnabled();
348 virtual bool isSelectTrailingWhitespaceEnabled(); 351 virtual bool isSelectTrailingWhitespaceEnabled();
349 virtual void didChangeSelection(bool is_selection_empty); 352 virtual void didChangeSelection(bool is_selection_empty);
350 virtual void didExecuteCommand(const WebKit::WebString& command_name); 353 virtual void didExecuteCommand(const WebKit::WebString& command_name);
351 virtual bool handleCurrentKeyboardEvent(); 354 virtual bool handleCurrentKeyboardEvent();
355 #if defined(ENABLE_INPUT_COLOR)
356 virtual WebKit::WebColorChooser* createColorChooser(
357 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color);
358 void detachColorChooser(WebKit::WebColorChooser*);
359 #endif // defined(ENABLE_INPUT_COLOR)
352 virtual bool runFileChooser( 360 virtual bool runFileChooser(
353 const WebKit::WebFileChooserParams& params, 361 const WebKit::WebFileChooserParams& params,
354 WebKit::WebFileChooserCompletion* chooser_completion); 362 WebKit::WebFileChooserCompletion* chooser_completion);
355 virtual void runModalAlertDialog(WebKit::WebFrame* frame, 363 virtual void runModalAlertDialog(WebKit::WebFrame* frame,
356 const WebKit::WebString& message); 364 const WebKit::WebString& message);
357 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, 365 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame,
358 const WebKit::WebString& message); 366 const WebKit::WebString& message);
359 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, 367 virtual bool runModalPromptDialog(WebKit::WebFrame* frame,
360 const WebKit::WebString& message, 368 const WebKit::WebString& message,
361 const WebKit::WebString& default_value, 369 const WebKit::WebString& default_value,
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
1157 1165
1158 DevToolsAgent* devtools_agent_; 1166 DevToolsAgent* devtools_agent_;
1159 1167
1160 RendererAccessibility* renderer_accessibility_; 1168 RendererAccessibility* renderer_accessibility_;
1161 1169
1162 // Java Bridge dispatcher attached to this view; lazily initialized. 1170 // Java Bridge dispatcher attached to this view; lazily initialized.
1163 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_; 1171 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_;
1164 1172
1165 // Misc ---------------------------------------------------------------------- 1173 // Misc ----------------------------------------------------------------------
1166 1174
1175 #if defined(ENABLE_INPUT_COLOR)
1176 RendererWebColorChooserImpl* color_chooser_;
1177 #endif
1178
1167 // The current and pending file chooser completion objects. If the queue is 1179 // The current and pending file chooser completion objects. If the queue is
1168 // nonempty, the first item represents the currently running file chooser 1180 // nonempty, the first item represents the currently running file chooser
1169 // callback, and the remaining elements are the other file chooser completion 1181 // callback, and the remaining elements are the other file chooser completion
1170 // still waiting to be run (in order). 1182 // still waiting to be run (in order).
1171 struct PendingFileChooser; 1183 struct PendingFileChooser;
1172 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1184 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
1173 1185
1174 // The current directory enumeration callback 1186 // The current directory enumeration callback
1175 std::map<int, WebKit::WebFileChooserCompletion*> enumeration_completions_; 1187 std::map<int, WebKit::WebFileChooserCompletion*> enumeration_completions_;
1176 int enumeration_completion_id_; 1188 int enumeration_completion_id_;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 // bunch of stuff, you should probably create a helper class and put your 1254 // bunch of stuff, you should probably create a helper class and put your
1243 // data and methods on that to avoid bloating RenderView more. You can 1255 // data and methods on that to avoid bloating RenderView more. You can
1244 // use the Observer interface to filter IPC messages and receive frame change 1256 // use the Observer interface to filter IPC messages and receive frame change
1245 // notifications. 1257 // notifications.
1246 // --------------------------------------------------------------------------- 1258 // ---------------------------------------------------------------------------
1247 1259
1248 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1260 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1249 }; 1261 };
1250 1262
1251 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1263 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698