Home
last modified time | relevance | path

Searched refs:view_id (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/mojo/services/view_manager/
Dtest_change_tracker.cc41 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
48 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
54 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
60 ViewIdToString(change.view_id).c_str()); in ChangeToDescription1()
64 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
69 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
74 ViewIdToString(change.view_id).c_str(), in ChangeToDescription1()
106 view.view_id = data->view_id; in ViewDataToTestView()
121 view_id(0), in Change()
150 void TestChangeTracker::OnViewBoundsChanged(Id view_id, in OnViewBoundsChanged() argument
[all …]
Dids.h24 ViewId(ConnectionSpecificId connection_id, ConnectionSpecificId view_id) in ViewId()
26 view_id(view_id) {} in ViewId()
27 ViewId() : connection_id(0), view_id(0) {} in ViewId()
31 other.view_id == view_id;
39 ConnectionSpecificId view_id; member
47 return (id.connection_id << 16) | id.view_id; in ViewIdToTransportId()
Dview_manager_service_impl.cc54 ViewMap::const_iterator i = view_map_.find(id.view_id); in GetView()
146 view_map_.erase(view.view_id); in ProcessViewDeleted()
257 void ViewManagerServiceImpl::RemoveRoot(const ViewId& view_id) { in RemoveRoot() argument
258 const Id transport_view_id(ViewIdToTransportId(view_id)); in RemoveRoot()
264 if (view_id.connection_id == id_) in RemoveRoot()
273 RemoveFromKnown(GetView(view_id), &local_views); in RemoveRoot()
279 const ViewId& view_id) { in RemoveChildrenAsPartOfEmbed() argument
280 ServerView* view = GetView(view_id); in RemoveChildrenAsPartOfEmbed()
282 CHECK(view->id().connection_id == view_id.connection_id); in RemoveChildrenAsPartOfEmbed()
305 view_data->view_id = ViewIdToTransportId(view->id()); in ViewToViewData()
[all …]
Dtest_change_tracker.h41 Id view_id; member
55 Id view_id; member
107 void OnViewBoundsChanged(Id view_id, RectPtr old_bounds, RectPtr new_bounds);
108 void OnViewHierarchyChanged(Id view_id,
112 void OnViewReordered(Id view_id,
115 void OnViewDeleted(Id view_id);
116 void OnViewVisibilityChanged(Id view_id, bool visible);
117 void OnViewDrawnStateChanged(Id view_id, bool drawn);
118 void OnViewInputEvent(Id view_id, EventPtr event);
Dview_manager_service_impl.h130 void RemoveRoot(const ViewId& view_id);
132 void RemoveChildrenAsPartOfEmbed(const ViewId& view_id);
159 Id view_id,
161 virtual void ReorderView(Id view_id,
166 Id view_id,
168 virtual void SetViewSurfaceId(Id view_id,
171 virtual void SetViewBounds(Id view_id,
174 virtual void SetViewVisibility(Id view_id,
178 Id view_id,
181 virtual void DispatchOnViewInputEvent(Id view_id, EventPtr event) OVERRIDE;
Dview_manager_unittest.cc117 bool CreateView(Id view_id) { in CreateView() argument
121 view_id, in CreateView()
128 ErrorCode CreateViewWithErrorCode(Id view_id) { in CreateViewWithErrorCode() argument
132 view_id, in CreateViewWithErrorCode()
148 bool RemoveViewFromParent(Id view_id) { in RemoveViewFromParent() argument
152 view_id, in RemoveViewFromParent()
158 bool ReorderView(Id view_id, Id relative_view_id, OrderDirection direction) { in ReorderView() argument
162 view_id, in ReorderView()
170 void GetViewTree(Id view_id, std::vector<TestView>* views) { in GetViewTree() argument
173 view_id, in GetViewTree()
[all …]
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dview_manager_client_impl.cc34 Id view_id, in AddViewToViewManager() argument
41 private_view.set_id(view_id); in AddViewToViewManager()
67 views[i]->view_id, in BuildViewTree()
143 const Id view_id = MakeTransportId(connection_id_, ++next_id_); in CreateView() local
144 service_->CreateView(view_id, ActionCompletedCallbackWithErrorCode()); in CreateView()
145 return view_id; in CreateView()
148 void ViewManagerClientImpl::DestroyView(Id view_id) { in DestroyView() argument
150 service_->DeleteView(view_id, ActionCompletedCallback()); in DestroyView()
164 Id view_id, in Reorder() argument
168 service_->ReorderView(view_id, relative_view_id, direction, in Reorder()
[all …]
Dview_manager_client_impl.h41 void DestroyView(Id view_id);
49 void Reorder(Id view_id, Id relative_view_id, OrderDirection direction);
54 void SetBounds(Id view_id, const gfx::Rect& bounds);
55 void SetSurfaceId(Id view_id, SurfaceIdPtr surface_id);
56 void SetFocus(Id view_id);
57 void SetVisible(Id view_id, bool visible);
59 void Embed(const String& url, Id view_id);
61 Id view_id,
74 void RemoveView(Id view_id);
99 virtual void OnViewBoundsChanged(Id view_id,
[all …]
Dbitmap_uploader.h30 Id view_id,
Dbitmap_uploader.cc38 Id view_id, in BitmapUploader() argument
42 view_id_(view_id), in BitmapUploader()
/external/chromium_org/mojo/examples/window_manager/
Dwindow_manager.cc58 virtual void CloseWindow(Id view_id) OVERRIDE;
59 virtual void ShowKeyboard(Id view_id, RectPtr bounds) OVERRIDE;
60 virtual void HideKeyboard(Id view_id) OVERRIDE;
69 explicit NavigatorHostImpl(WindowManager* window_manager, Id view_id) in NavigatorHostImpl() argument
70 : window_manager_(window_manager), view_id_(view_id) {} in NavigatorHostImpl()
110 void Show(Id view_id, const gfx::Rect& bounds) { in Show() argument
111 keyboard_service_->SetTarget(view_id); in Show()
115 void Hide(Id view_id) { in Hide() argument
122 virtual void OnKeyboardEvent(Id view_id, in OnKeyboardEvent() argument
125 View* view = view_manager_->GetViewById(view_id); in OnKeyboardEvent()
[all …]
Dwindow_manager.mojom14 // Events from the keyboard are routed to the view with id |view_id|.
15 ShowKeyboard(uint32 view_id, mojo.Rect? bounds);
17 // Hides the keyboard. This is ignored if |view_id| is not the view that was
19 HideKeyboard(uint32 view_id);
/external/chromium_org/mojo/services/public/interfaces/view_manager/
Dview_manager.mojom15 uint32 view_id;
54 // Additionally the connection id (embedded in |view_id|) must match that of
58 // ERROR_CODE_ILLEGAL_ARGUMENT: The connection part of |view_id| does not
60 CreateView(uint32 view_id) => (ErrorCode error_code);
65 DeleteView(uint32 view_id) => (bool success);
68 SetViewBounds(uint32 view_id, mojo.Rect bounds) => (bool success);
73 SetViewVisibility(uint32 view_id, bool visible) => (bool success);
93 RemoveViewFromParent(uint32 view_id) => (bool success);
99 ReorderView(uint32 view_id,
103 // Returns the views comprising the tree starting at |view_id|. |view_id| is
[all …]
/external/chromium_org/mojo/services/public/interfaces/window_manager/
Dwindow_manager.mojom9 SetCapture(uint32 view_id) => (bool success);
10 FocusWindow(uint32 view_id) => (bool success);
11 ActivateWindow(uint32 view_id) => (bool success);
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_api.cc64 const std::string& view_id, in ExecuteMimeTypeHandler() argument
73 if (!view_id.empty()) { in ExecuteMimeTypeHandler()
74 info.view_id.reset(new std::string(view_id)); in ExecuteMimeTypeHandler()
/external/chromium_org/chrome/browser/extensions/api/web_request/
Dweb_request_permissions_unittest.cc130 int view_id = 17; in TEST_F() local
137 view_id, in TEST_F()
148 int view_id = 19; in TEST_F() local
155 view_id, in TEST_F()
/external/chromium_org/extensions/renderer/
Dapp_window_custom_bindings.cc82 int view_id = args[0]->Int32Value(); in GetView() local
86 if (view_id == MSG_ROUTING_NONE) in GetView()
89 content::RenderView* view = content::RenderView::FromRoutingID(view_id); in GetView()
Drender_view_observer_natives.cc64 int view_id = args[0]->Int32Value(); in OnDocumentElementCreated() local
66 content::RenderView* view = content::RenderView::FromRoutingID(view_id); in OnDocumentElementCreated()
/external/chromium_org/mojo/examples/keyboard/
Dkeyboard.cc41 virtual void SetTarget(uint32_t view_id) OVERRIDE;
142 void KeyboardServiceImpl::SetTarget(uint32_t view_id) { in SetTarget() argument
143 keyboard_->set_target(view_id); in SetTarget()
Dkeyboard.mojom10 SetTarget(uint32 view_id);
16 OnKeyboardEvent(uint32 view_id, int32 code, int32 flags);
/external/chromium_org/extensions/browser/api/app_window/
Dapp_window_api.cc168 int view_id = MSG_ROUTING_NONE; in RunAsync() local
171 view_id = created_view->GetRoutingID(); in RunAsync()
182 result->Set("viewId", new base::FundamentalValue(view_id)); in RunAsync()
306 int view_id = MSG_ROUTING_NONE; in RunAsync() local
308 view_id = created_view->GetRoutingID(); in RunAsync()
311 result->Set("viewId", new base::FundamentalValue(view_id)); in RunAsync()
/external/chromium_org/ui/views/focus/
Dfocus_manager_unittest.cc34 FocusTestEvent(FocusTestEventType type, int view_id) in FocusTestEvent()
36 view_id(view_id) { in FocusTestEvent()
40 int view_id; member
45 SimpleTestView(std::vector<FocusTestEvent>* event_list, int view_id) in SimpleTestView() argument
48 set_id(view_id); in SimpleTestView()
80 EXPECT_EQ(kView1ID, event_list[0].view_id); in TEST_F()
86 EXPECT_EQ(kView1ID, event_list[0].view_id); in TEST_F()
88 EXPECT_EQ(kView2ID, event_list[1].view_id); in TEST_F()
94 EXPECT_EQ(kView2ID, event_list[0].view_id); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/
Dview_id_util_browsertest.mm36 void CheckViewID(ViewID view_id, bool should_have) {
41 NSView* view = view_id_util::GetView(root_window_, view_id);
42 EXPECT_EQ(should_have, !!view) << " Failed id=" << view_id;
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_resource_dispatcher_host_delegate.cc175 const std::string& view_id) { in SendExecuteMimeTypeHandlerEvent() argument
199 extension_id, web_contents, stream.Pass(), view_id, in SendExecuteMimeTypeHandlerEvent()
604 target_info.view_id = base::GenerateGUID(); in ShouldInterceptResourceAsStream()
606 "?id=" + target_info.view_id; in ShouldInterceptResourceAsStream()
629 ix->second.extension_id, ix->second.view_id)); in OnStreamCreated()
/external/chromium_org/chrome/renderer/searchbox/
Dsearchbox.cc69 int view_id = 0; in GetInstantRestrictedIDFromPath() local
70 if (!base::StringToInt(tokens[0], &view_id) || view_id != render_view_id) in GetInstantRestrictedIDFromPath()

12